package cn.admin.service.impl;

import cn.admin.dao.FeedBackMapper;
import cn.admin.entity.FeedBack;
import cn.admin.service.FeedBackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Author: 毛苏宇
 * @Description: You can do it!
 * @Date: Create in 23:08 2019/3/23
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class FeedBackServiceImpl implements FeedBackService {

    @Autowired private FeedBackMapper feedBackMapper;


    @Override
    public List<FeedBack> findFeedBacks() {
        return feedBackMapper.findFeedBacks();
    }


}
